package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(32)"`
}

type Role struct {
	gorm.Model
	Name    string `gorm:"type:varchar(30)"`
	Title   string `gorm:"type:varchar(30)"`
	Content string `gorm:"type:varchar(60)"`
}

type Info struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)"`
}
